﻿using System;
using System.Linq;
using System.Text;

namespace Monk.Solu.Models
{
    public class SysModule
    {
        
     /// <summary>
     /// Desc:编号 
     /// Default:- 
     /// Nullable:False 
     /// </summary>
        public int ModuleID {get;set;}

     /// <summary>
     /// Desc:模块名称 
     /// Default:- 
     /// Nullable:False 
     /// </summary>
        public string ModuleName {get;set;}

     /// <summary>
     /// Desc:区域 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public string Area {get;set;}

     /// <summary>
     /// Desc:控制器 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public string Controller {get;set;}

     /// <summary>
     /// Desc:行为 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public string Action {get;set;}

     /// <summary>
     /// Desc:参数 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public string Param {get;set;}

     /// <summary>
     /// Desc:非MVC格式地址 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public string Url {get;set;}

     /// <summary>
     /// Desc:是否MVC格式地址 
     /// Default:((1)) 
     /// Nullable:False 
     /// </summary>
        public Boolean IsMvcUrl {get;set;}

     /// <summary>
     /// Desc:模块类型 
     /// Default:- 
     /// Nullable:False 
     /// </summary>
        public string Type {get;set;}

     /// <summary>
     /// Desc:唯一标识 
     /// Default:(newid()) 
     /// Nullable:False 
     /// </summary>
        public Guid UniqueKey {get;set;}

     /// <summary>
     /// Desc:字体图标class名 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public string IconfontClass {get;set;}

     /// <summary>
     /// Desc:模块背景，只对区域模块有用 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public string ModuleBackgroud {get;set;}

     /// <summary>
     /// Desc:排序，数字越小排越前 
     /// Default:((0)) 
     /// Nullable:True 
     /// </summary>
        public int? SortID {get;set;}

     /// <summary>
     /// Desc:父模块编号 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public int? ParentModuleID {get;set;}

     /// <summary>
     /// Desc:父模块唯一标识 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public Guid ParentUniqueKey {get;set;}

     /// <summary>
     /// Desc:创建时间 
     /// Default:(getdate()) 
     /// Nullable:False 
     /// </summary>
        public DateTime CreateTime {get;set;}

     /// <summary>
     /// Desc:创建人 
     /// Default:('系统创建') 
     /// Nullable:False 
     /// </summary>
        public string CreateUser {get;set;}

     /// <summary>
     /// Desc:创建人唯一标识，系统自动创建为NULL 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public Guid CreateUniqueKey {get;set;}

     /// <summary>
     /// Desc:最近更新时间 
     /// Default:- 
     /// Nullable:True 
     /// </summary>
        public DateTime? UpdateTime {get;set;}

     /// <summary>
     /// Desc:- 
     /// Default:((0)) 
     /// Nullable:False 
     /// </summary>
        public Boolean IsDel {get;set;}

     /// <summary>
     /// Desc:是否启用 
     /// Default:((1)) 
     /// Nullable:False 
     /// </summary>
        public Boolean IsEnable {get;set;}

     /// <summary>
     /// Desc:是否固化，固化的数据不能删除 
     /// Default:((0)) 
     /// Nullable:False 
     /// </summary>
        public Boolean IsSystemLock {get;set;}

    }
}
